import request from '@/utils/request'
export default {
  login(loginVo) { //登录方法
    return request({
      url: `/educenter/member/login`,
      method: 'post',
      data: loginVo
    })
  },
  getUserInfo() { //发短信
    return request({
      url: `/educenter/member/getUserInfo`,
      method: 'get'
    })
  },
  getLoginCode(){  //生成二维码用于登录
    return request({
      url: `/api/ucenter/wx/login`,
      method: 'get'
    })
  }
}